<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./CSS/bootstrap.min.css">
    <link rel="stylesheet" href="./CSS/bootstrap-icons/font/bootstrap-icons.css">
    <link rel="stylesheet" href="./CSS/style.css">
</head>

<body class="bg-light">
    <div class="container pt-3">
        <div class="card">
            <div
                class="card-header bg-success bg-gradient d-flex justify-content-between align-items-center text-light">
                <span><i class="bi bi-gear"></i>&nbsp;聊天室</span>
                <a href="/index.html" class="text-light">离开聊天室&nbsp;<i class="bi bi-arrow-right"></i></a>
            </div>
            <div class="card-body">
                <div class="row">
                    <div class="panel-container col-sm-12 col-md-4">
                        <ul class="list-group list-group-flush">
                            <li class="list-group-item"><i class="bi bi-hospital-fill"></i>&nbsp;<b>房间列表</b></li>
                            <li class="list-group-item room-name"></li>
                        </ul>
                        <ul class="list-group list-group-flush user-list">
                            <li class="list-group-item"><i class="bi bi-people-fill"></i>&nbsp;<b>用户列表</b></li>

                        </ul>
                    </div>
                    <div class="col-sm-12 col-md-8 right-panel" style="height: 600px;overflow-y:scroll;">
                        <div class="container message-container"></div>
                    </div>
                </div>
            </div>
            <div class="card-footer">
                <form id="chat-form" action="#">
                    <div class="input-group mb-3">
                        <input id="msg" type="text" class="form-control" placeholder="请输入消息">
                        <button class="btn btn-success"><i class="bi bi-send"></i>&nbsp;发送</button>
                    </div>
                </form>
            </div>
        </div>
    </div>
    <script src="./qs.min.js"></script>
    <script src="./socket.io.js"></script>
    <script src="./JS/bootstrap.min.js"></script>
    <script src="./main.js"></script>
</body>

</html>